for line in [1, 2, 3, 4, 5]:
    if line == 1 or line == 3:
        print('X' * 5)
    else:
        print('X' * 2)

print('---------------------')

for times in [5, 2, 5, 2, 2]:
    print('X' * times)

print('---------------------')

for counts in [1, 1, 1, 1, 5]:
    output = ''
    for count in range(counts):
        output += 'X'

    print(output)


